import BasePanel from "../../framework/BasePanel";
import UIManager from "../../framework/uiMoudle/UIManager";

const { ccclass, property, inspector } = cc._decorator;

@ccclass
@inspector("packages://autoproperty/inspector.js")
export default class gameScene extends BasePanel<gameScene> {

    @property(cc.Node)
    toHome: cc.Node = null;

    // LIFE-CYCLE CALLBACKS:

    onLoad() {

        UIManager.loadAssets('home');

        this.toHome.on('click', () => {
            UIManager.replaceScene('homeScene');
        });
    }

    start() {

    }

    // update (dt) {}
}
